package cn.sofwin.day0126;

public class Student {

   protected String ID;
   protected String fullName;
    protected int age;

    public Student(String ID, String fullName, int age) {
        this.ID = ID;
        this.fullName = fullName;
        this.age = age;
    }

    @Override
    public boolean equals(Object obj) {
        Student s = (Student)obj;
        if(s.ID == this.ID && s.fullName == this.fullName);{
            return true;
        }

    }
}
